"""
__author__ = 'berlinyoung'
@File   :private_info.py
@Date   :2022/5/22 0:00
-*- coding: utf-8 -*-
"""
from appium.webdriver.common.mobileby import MobileBy

from weixin_mobile.step1_po.page.base import Base
from weixin_mobile.step1_po.page.private_info_edit_page import PrivateInfoEditPage


class PrivateInfo(Base):

    def goto_more_setting(self):
        self.find_click(MobileBy.ID,"iwf")
        return PrivateInfo(self.driver)

    def goto_edit_member(self):
        self.find_click(MobileBy.XPATH,"//*[@text='编辑成员']")
        return PrivateInfoEditPage(self.driver)
